projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f58aaf1
)
typo
author
Mike Baker
<
[email protected]
>
Sat, 25 Mar 2006 07:43:27 +0000
(07:43 +0000)
committer
Mike Baker
<
[email protected]
>
Sat, 25 Mar 2006 07:43:27 +0000
(07:43 +0000)
SVN-Revision: 3476
openwrt/package/base-files/default/usr/lib/common.awk
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/usr/lib/common.awk
b/openwrt/package/base-files/default/usr/lib/common.awk
index a9ab0f1645ac980330593f40cc7edddb394904fc..63a8cf23d8aa53495e3fc924d80797917182bb7d 100644
(file)
--- a/
openwrt/package/base-files/default/usr/lib/common.awk
+++ b/
openwrt/package/base-files/default/usr/lib/common.awk
@@
-61,6
+61,6
@@
function ip2int(ip) {
function int2ip(ip,ret,x) {
ret=and(ip,255)
ip=rshift(ip,8)
- for(
x<3;ret=and(ip,255)"."ret,ip=rshift(ip,8),x++)
+ for(
;x<3;ret=and(ip,255)"."ret,ip=rshift(ip,8),x++);
return ret
}